<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/js.vue.js"></script>
</head>
<body>
    <div id="box">
        <zuojian title="122" ></zuojian>
        <zuojian name="333" ></zuojian>
        <zuojian age="333"></zuojian>
        <zuojian @guowang="sub"></zuojian>
        <button @click="sub"></button>

    </div>
    <script type="module">
        import zuojian from'../js/cunzhang.js'
        Vue.createApp({
            components:{
                zuojian,
            },
            data(){
                return{
    
                }
            },
            methods:{
                sub(){
                    alert("啦啦啦")
                }
            }
        }).mount('#box')
      </script>
</body>
</html>